export const formItems = [
  {
    filed: 'nameOrPhone',
    type: 'input',
    label: '教练信息',
    placeholder: '请输入教练姓名/手机号'
  },
  {
    filed: 'levelId',
    type: 'select',
    label: '教练等级',
    options: []
  },
  {
    filed: 'teacherType',
    type: 'select',
    label: '授课类型',
    clearable: true,
    options: [
      { value: '0', label: '常规课' },
      { value: '1', label: '私教课' }
    ]
  },
  {
    filed: 'status',
    type: 'select',
    label: '在岗状态',
    clearable: true,
    options: [
      { value: '1', label: '在岗' },
      { value: '0', label: '离岗' }
    ]
  },
  {
    filed: 'isOnJob',
    type: 'select',
    label: '状态',
    clearable: true,
    options: [
      { value: '1', label: '在职' },
      { value: '0', label: '离职' }
    ]
  },
  {
    filed: 'sex',
    type: 'select',
    label: '性别',
    clearable: true,
    options: [
      { value: '1', label: '男' },
      { value: '2', label: '女' }
    ]
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}

export const detailFormItems = [
  {
    filed: 'courseName',
    type: 'input',
    label: '课程名称'
  },
  {
    filed: 'classTime',
    type: 'date',
    label: '上课时间'
  },
  {
    filed: 'status',
    type: 'select',
    label: '课时状态',
    options: [
      { value: '1', label: '已上课' },
      { value: '0', label: '未上课' }
    ]
  },
  {
    filed: 'type',
    type: 'select',
    label: '课程类型',
    options: [
      { value: '0', label: '常规课' },
      { value: '1', label: '私教课' }
    ]
  }
]
export const detailFormConfig = {
  formItems: detailFormItems,
  online: true
}

export const weekDays = [
  { value: '7', label: '周日' },
  { value: '1', label: '周一' },
  { value: '2', label: '周二' },
  { value: '3', label: '周三' },
  { value: '4', label: '周四' },
  { value: '5', label: '周五' },
  { value: '6', label: '周六' }
]
